package com.cgc.venus.server.app.bean;

/**
 * Created by 业哥 on 2018/3/29.
 * service(lb) bean
 */
public class ServicePortBean {
    private String name;
    private String  protocal;     //TCP/UDP
    private int port;             //服务端口
    private int targetPort;      //容器端口
    private int nodePort;        //节点端口

    private boolean nodePortAutoCreate;//节点端口是否自动创建

    public boolean isNodePortAutoCreate() {
        return nodePortAutoCreate;
    }

    public void setNodePortAutoCreate(boolean nodePortAutoCreate) {
        this.nodePortAutoCreate = nodePortAutoCreate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProtocal() {
        return protocal;
    }

    public void setProtocal(String protocal) {
        this.protocal = protocal;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public int getTargetPort() {
        return targetPort;
    }

    public void setTargetPort(int targetPort) {
        this.targetPort = targetPort;
    }

    public int getNodePort() {
        return nodePort;
    }

    public void setNodePort(int nodePort) {
        this.nodePort = nodePort;
    }
}
